The phrase "of a lot of fun" is an idiomatic expression that means something is enjoyable, entertaining or amusing. It is a way of expressing that an activity or event is enjoyable and provides pleasure.